package cn.hanyx.coder.design.pattern.behavioral.visitor.demo04;

/**
 * Extractor
 *
 * @author hanyx
 * @date 2020/07/29
 */
public class Extractor {

    public void extract2txt(PPTFile pptFile) {
        System.out.println("Extract PPT.");
    }

    public void extract2txt(PdfFile pdfFile) {
        System.out.println("Extract PDF.");
    }

    public void extract2txt(WordFile wordFile) {
        System.out.println("Extract world.");
    }
}
